import React, { Component } from 'react'

class Foo extends Component {
    render() {
        let [width,height]=this.props.size
        return (
            <div>
                {width}x{height}
            </div>
        )
    }
}

export default Foo
